import { ViewModuleIcon, Edit1Icon, LayersIcon } from 'tdesign-icons-vue';
import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/enterManagement',
    name: 'enterManagement',
    component: Layout,
    redirect: '/enterManagement/base',
    meta: { title: '入驻管理', icon: ViewModuleIcon },
    children: [
      // 酒店入驻列表页
      {
        path: 'base',
        name: 'ListBase',
        component: () => import('@/pages/enterManagement/hotelMassage/listPages.vue'),
        meta: { title: '酒店管理' },
      },
       // 酒店入驻详情页
       {
        path: 'details',
        name:"details",
        component: () => import('@/pages/enterManagement/hotelMassage/details.vue'),
         meta: { title: '酒店入驻详情页',hidden: true },
      },
      //酒店入驻审核页
      {
        path: 'aptitude',
        name:"aptitude",
        component: () => import('@/pages/enterManagement/hotelMassage/aptitude.vue'),
        meta: { title: '酒店入驻审核页',hidden: true  },
      },
      {
        path: 'card',
        name: 'ListCard',
        component: () => import('@/pages/enterManagement/tourGroup/index.vue'),
        meta: { title: '旅行团入驻' ,},
      },
     
    ],
  },
  {
    path: '/system',
    name: 'system',
    component: Layout,
    redirect: '/system/accountNumber',
    meta: { title: '系统管理', icon: ViewModuleIcon },
    children: [
      {
        path: 'accountNumber',
        name: 'AccountNumber',
        component: () => import('@/pages/system/accountNumber/index.vue'),
        meta: { title: '账号管理' },
      },
      {
        path: 'changeAccount',
        name: 'changeAccount',
        component: () => import('@/pages/system/accountNumber/changeAccount.vue'),
        meta: { title: '新增账号', hidden: true },
      },
      {
        path: 'accountInfo',
        name: 'AccountInfo',
        component: () => import('@/pages/system/accountNumber/accountInfo.vue'),
        meta: { title: '账号详情', hidden: true },
      },
      {
        path: 'operationRecord',
        name: 'OperationRecord',
        component: () => import('@/pages/system/accountNumber/operationRecord.vue'),
        meta: { title: '操作记录', hidden: true },
      },
    ],
  },
  {
    path: '/result',
    name: 'result',
    component: Layout,
    redirect: '/result/success',
    meta: { title: '结果页', icon: 'check-circle' },
    children: [
      {
        path: 'success',
        name: 'ResultSuccess',
        component: () => import('@/pages/result/success/index.vue'),
        meta: { title: '成功页' },
      },
      {
        path: 'fail',
        name: 'ResultFail',
        component: () => import('@/pages/result/fail/index.vue'),
        meta: { title: '失败页' },
      },
      {
        path: 'network-error',
        name: 'ResultNetworkError',
        component: () => import('@/pages/result/network-error/index.vue'),
        meta: { title: '网络异常' },
      },
      {
        path: '403',
        name: 'Result403',
        component: () => import('@/pages/result/403/index.vue'),
        meta: { title: '无权限' },
      },
      {
        path: '404',
        name: 'Result404',
        component: () => import('@/pages/result/404/index.vue'),
        meta: { title: '访问页面不存在页' },
      },
      {
        path: '500',
        name: 'Result500',
        component: () => import('@/pages/result/500/index.vue'),
        meta: { title: '服务器出错页' },
      },
      {
        path: 'browser-incompatible',
        name: 'ResultBrowserIncompatible',
        component: () => import('@/pages/result/browser-incompatible/index.vue'),
        meta: { title: '浏览器不兼容页' },
      },
      {
        path: 'maintenance',
        name: 'ResultMaintenance',
        component: () => import('@/pages/result/maintenance/index.vue'),
        meta: { title: '系统维护页' },
      },
    ],
  },
];
